package com.ziytek.web.citizen.pojo.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import lombok.Data;

/**
 * @author fenghx
 * @version 1.0
 * @className BaseModel
 * Description:
 * @date 2024/4/12 16:06
 */
@Data
public class BaseModel {

    @TableId(type = IdType.AUTO)
    @IsKey
    @IsAutoIncrement
    @Column
    private Long id;

    @Column(name = "createTime", comment = "创建时间")
    private Long createTime;

    @Column(name = "updateTime", comment = "修改时间")
    private Long updateTime;
}
